package student.aistar.model.entity;


public class Address {

  private Integer addressId;
  private Integer userId;
  private String userName;
  private String userPhone;
  private String userAddress;
  private Integer userZipcode;

  public Address() {
  }

  public Address(Integer addressId, Integer userId, String userName, String userPhone, String userAddress, Integer userZipcode) {
    this.addressId = addressId;
    this.userId = userId;
    this.userName = userName;
    this.userPhone = userPhone;
    this.userAddress = userAddress;
    this.userZipcode = userZipcode;
  }

  public Integer getAddressId() {
    return addressId;
  }

  public void setAddressId(Integer addressId) {
    this.addressId = addressId;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserPhone() {
    return userPhone;
  }

  public void setUserPhone(String userPhone) {
    this.userPhone = userPhone;
  }

  public String getUserAddress() {
    return userAddress;
  }

  public void setUserAddress(String userAddress) {
    this.userAddress = userAddress;
  }

  public Integer getUserZipcode() {
    return userZipcode;
  }

  public void setUserZipcode(Integer userZipcode) {
    this.userZipcode = userZipcode;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("Address{");
    sb.append("addressId=").append(addressId);
    sb.append(", userId=").append(userId);
    sb.append(", userName='").append(userName).append('\'');
    sb.append(", userPhone='").append(userPhone).append('\'');
    sb.append(", userAddress='").append(userAddress).append('\'');
    sb.append(", userZipcode=").append(userZipcode);
    sb.append('}');
    return sb.toString();
  }
}
